package com.platform.system.service;

import com.platform.common.core.domain.AjaxResult;
import com.platform.common.core.page.TableDataInfo;
import com.platform.system.domain.dto.device.SpeakerTypeDto;
import com.platform.system.domain.entity.device.SpeakerType;
import com.platform.system.domain.vo.device.SpeakerTypeVo;

import java.util.List;

/**
 * @author Huangkai
 */
public interface ISysSpeakerTypeService {
    /**
     * 分页查询
     * @param speakerInfoVo
     * @return
     */
    TableDataInfo selectSpeakerTypeList(SpeakerTypeVo speakerInfoVo);

    /**
     * 查询样式类型
     * @param uidList
     * @return
     */
    List<SpeakerType> selectSpeakerTypeByUidList(List<String> uidList);

    /**
     * 查询详情
     * @param uid
     * @return
     */
    SpeakerTypeDto selectSpeakerType(String uid);
    /**
     * 按照名字查询
     * @param speakerTypeVo
     * @return
     */
    SpeakerType selectSpeakerTypeByName(SpeakerTypeVo speakerTypeVo);

    /**
     * 新增
     * @param speakerTypeVo
     * @return
     */
    AjaxResult insertSpeakerType(SpeakerTypeVo speakerTypeVo);
    /**
     * 删除
     * @param speakerTypeVo
     * @return
     */
    AjaxResult deleteSpeakerType(SpeakerTypeVo speakerTypeVo);

    /**
     * 更新数据
     * @param speakerTypeVo
     * @return
     */
    AjaxResult updateSpeakerType(SpeakerTypeVo speakerTypeVo);
}
